package com.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.demo.model.*;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

public class Partner implements Serializable {
    private String partnerId;
    //姓名
    private String name;
    //性别
    private String sex;
    //手机号
    private String telephone;
    private List<Telephone> telephoneList;
    //微信
    private String weixin;
    //邮箱
    private String email;
    //单位名称
    private String company;
    //工作部门
    private String department;
    //工作岗位
    private String post;
    //伙伴来源
    private String source;
    //伙伴对应项目
    private String item;
    //伙伴对应债权
    private String debt;
    //联系地址
    private String address;
    private int disabled;
    private String createUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date updateTime;
    private String[][] overArea;
    private Integer partnerType;
    //机构类型
    private String[] orgType;
    //退出类型
    private String exitType;
    //机构类型备注
    private String orgRemark;
    //资产伙伴
    private AssetInfoModel assetInfo;
    //资金伙伴
    private FundInfoModel fundInfo;
    //退出伙伴
    private ExitInfoModel exitInfo;
    //司法伙伴
    private JusticeInfoModel justiceInfo;
    //同业伙伴
    private PeerInfoModel peerInfo;
    //政府伙伴
    private OrgInfoModel orgInfo;
    private String trueName;
    private String time;
    private String note;

    //隐藏
    private String hide;

    //1 自己 0 不是自己
    private int self;

    public int getSelf() {
        return self;
    }

    public void setSelf(int self) {
        this.self = self;
    }

    public String getExitType() {
        return exitType;
    }

    public void setExitType(String exitType) {
        this.exitType = exitType;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getTelephone() {
        return telephone;
    }

    public List<Telephone> getTelephoneList() {
        return telephoneList;
    }

    @Override
    public String toString() {
        return Arrays.toString(overArea);
    }

    public void setTelephoneList(List<Telephone> telephoneList) {
        this.telephoneList = telephoneList;
    }

    public String getHide() {
        return hide;
    }

    public void setHide(String hide) {
        this.hide = hide;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String[] getOrgType() {
        return orgType;
    }

    public void setOrgType(String[] orgType) {
        this.orgType = orgType;
    }

    public String getOrgRemark() {
        return orgRemark;
    }

    public void setOrgRemark(String orgRemark) {
        this.orgRemark = orgRemark;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getDebt() {
        return debt;
    }

    public void setDebt(String debt) {
        this.debt = debt;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getDisabled() {
        return disabled;
    }

    public void setDisabled(int disabled) {
        this.disabled = disabled;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String[][] getOverArea() {
        return overArea;
    }

    public void setOverArea(String[][] overArea) {
        this.overArea = overArea;
    }

    public Integer getPartnerType() {
        return partnerType;
    }

    public void setPartnerType(Integer partnerType) {
        this.partnerType = partnerType;
    }

    public AssetInfoModel getAssetInfo() {
        return assetInfo;
    }

    public void setAssetInfo(AssetInfoModel assetInfo) {
        this.assetInfo = assetInfo;
    }

    public FundInfoModel getFundInfo() {
        return fundInfo;
    }

    public void setFundInfo(FundInfoModel fundInfo) {
        this.fundInfo = fundInfo;
    }

    public ExitInfoModel getExitInfo() {
        return exitInfo;
    }

    public void setExitInfo(ExitInfoModel exitInfo) {
        this.exitInfo = exitInfo;
    }

    public JusticeInfoModel getJusticeInfo() {
        return justiceInfo;
    }

    public void setJusticeInfo(JusticeInfoModel justiceInfo) {
        this.justiceInfo = justiceInfo;
    }

    public PeerInfoModel getPeerInfo() {
        return peerInfo;
    }

    public void setPeerInfo(PeerInfoModel peerInfo) {
        this.peerInfo = peerInfo;
    }


    public OrgInfoModel getOrgInfo() {
        return orgInfo;
    }

    public void setOrgInfo(OrgInfoModel orgInfo) {
        this.orgInfo = orgInfo;
    }
}
